package com.py.credit.dao;

import com.py.credit.common.Page;
import org.apache.ibatis.annotations.Param;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public interface RetrospectDao {

    List<Map<String, Object>> selectRetrospectListByConditionForPage(@Param(value = "columns") List<String> showColumns,
                                                                     @Param(value = "additionalColumns") String[] additionalColumns,
                                                                     @Param(value = "conditions") List<String> conditions,
                                                                     @Param(value = "page") Page page);

    LinkedHashMap selectDetailById(@Param(value = "id") String id);

    void addLog(@Param(value = "userId") Long userId,
                @Param(value = "deptId") Long deptId,
                @Param(value = "username") String username,
                @Param(value = "realname") String realname,
                @Param(value = "flag") String flag,
                @Param(value = "ajbh") String ajbh,
                @Param(value = "feedbackMess") String feedbackMess);
}